<?php
/**
 * Created by PhpStorm.
 * User: Weizehua
 * Date: 8/9/2016
 * Time: 16:56
 */


echo preg_replace('#1#', $_REQUEST['replacement'], "1");